#ifndef _Gfx_h_
#define _Gfx_h_

#include "SDL.h"

/* Rectangle macros */
#define TOP(rectptr)	((rectptr)->y)
#define BOTTOM(rectptr)	((rectptr)->y + (rectptr)->h)
#define LEFT(rectptr)	((rectptr)->x)
#define RIGHT(rectptr)	((rectptr)->x + (rectptr)->w)


void save_screen (void);
void restore_screen (void);
void flash (int r, int g, int b, Uint32 ms, int repeat);
void flash2 (int r, int g, int b, Uint32 msclear, Uint32 msflash, int repeat);

#endif

